<template>
  <div id="app">
    <div id="nav">
      <navlist ></navlist>
      <router-link to="/home"></router-link>
      <router-view ></router-view>
    </div>
  </div>
</template>
<script>
import index from "./components/index.vue";
import Navlist from "./components/navlist.vue";
export default {
  components: { index, Navlist },
  data() {
    return {
    };
  },
  methods: {
   
  },
};
</script>
<style>
* {
  padding: 0;
  margin: 0;
}
#nav {
  width: 1200px;
  margin: auto;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* text-align: center; */
  color: #2c3e50;
}

#nav {
  padding: 0px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
  text-decoration: none;
}

#nav a.router-link-active {
  color: #42b983;
}
</style>
